//
//  BDMVMyNoDataView.m
//  MinVideo
//
//  Created by 高雪峰 on 2017/12/16.
//  Copyright © 2017年 Baidu. All rights reserved.
//

#import "BDMVMyNoDataView.h"

@interface BDMVMyNoDataView ()

@property (nonatomic, strong) UIView *container;

@end

@implementation BDMVMyNoDataView

- (instancetype)init {
    self = [super init];
    if (self) {
        [self initUI];
    }
    return self;
}

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.backgroundColor = [UIColor clearColor];
        [self initUI];
    }
    return self;
}

- (void)initUI {
    [self addSubview:self.container];
}

- (void)dealloc
{
    _container = nil;
}

- (void)layoutSubviews
{
    [super layoutSubviews];
}

- (UIView *)container
{
    if (_container == nil) {
        _container = [[UIView alloc] init];
        [self addSubview:_container];
    }
    return _container;
}

@end
